package com.hqj;

import java.util.HashMap;
import java.util.Map;

/**
 * 返回值工具类
 */
public class ReturnUtil {

    public static Map<String,Object> returnMap(boolean b,String msg){
        Map<String,Object> map = new HashMap<String, Object>();
        map.put("msg",msg+(b?"成功":"失败"));
        map.put("is",b);
        return map;
    }

        public final static String BASE_PATH = "D:/files";


}
